<!-- **i18n版本-->
<template>
  <div class="">
    <header class="header">{{ tff('moduleName') }}</header>
    <el-table ref="table" :data="this.detail" size="small" style="width: 100%">
      <el-table-column prop="appId" :label="tff('appId')" />
      <el-table-column prop="charsetCn" :label="tff('charset')" />
      <el-table-column prop="formatCn" :label="tff('format')" />
      <el-table-column prop="gatewayUrl" :label="tff('gatewayUrl')" />
      <el-table-column prop="notifyUrl" :label="tff('notifyUrl')" />
      <el-table-column prop="privateKey" :label="tff('privateKey')" />
      <el-table-column prop="publicKey" :label="tff('publicKey')" />
      <el-table-column prop="returnUrl" :label="tff('returnUrl')" />
      <el-table-column prop="signType" :label="tff('signType')" />
      <el-table-column prop="sysServiceProviderId" :label="tff('sysServiceProviderId')" />
      <el-table-column prop="updateBy" :label="tff('updateBy')" />
      <el-table-column prop="updateTime" :label="tff('updateTime')" />
      <!-- v-if="checkPer(['admin','alipayConfig:edit','alipayConfig:del'])"-->
      <el-table-column :label="$t('btn.operationCol')" width="200px" align="center">
        <!--<template slot-scope="scope" />-->
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import i18nHandler from '@/mixins/i18nHandler'

export default {
  name: 'AlipayConfigPreviewItem',
  mixins: [i18nHandler],
  props: {
    module: String,
    alias: String,
  },
  data() {
    return {
      detail: {},
      i18nQry: {},
    }
  },
  created() {
    this.i18nQry.module = this.module
  },
  methods: {
    tff(code) {
      return this.tf(this.alias + '.' + code)
    },
  },
}
</script>

<style scoped></style>
